package com.itheima.基础案例.Demo1;

import java.util.Date;

public class MainApp {
    public static void main(String[] args) {
        Teacher teacher1=new Teacher("t001","薛之谦","男",26,"java");
        Teacher teacher2=new Teacher("t002","张碧晨","女",24,"IOS");
        Teacher teacher3=new Teacher("t003","张杰","男",28,"java");
        System.out.println(teacher1);
        System.out.println(teacher2);
        System.out.println(teacher3);
        Course course1=new Course("s001","java",new Date(),"java学科包含javase和javaee");
        Course course2=new Course("s002","Ios",new Date(),"Ios系统开发");
        System.out.println(course1);
        System.out.println(course2);
    }
}
